﻿using System.Data.Entity.ModelConfiguration;
using yiCommerce.Core.Domain.Addresses;

namespace yiCommerce.Data.Mapping.Addresses
{
    public class AddressMapping: EntityTypeConfiguration<Address>
    {
        public AddressMapping()
        {
            this.ToTable("Address");
            this.HasKey(a => a.Id);

        }
    }
}